const event = require('events').EventEmitter;
let emitter = new event();
emitter.on('connection',function (agr1,agr2) {
    console.log("connection1 监听事件已执行！",agr1,agr2)
});
emitter.on('connection',function (agr1,agr2) {
    console.log('connection2 监听事件已执行！',agr1,agr2)
});
emitter.emit('connection','canshu1','canshu2');
